package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
public class UpdateUserAssetsRequest {
    @ApiModelProperty("用户id")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @ApiModelProperty("flag true 加 false减")
    @NotNull(message = "类型不能为空")
    private Boolean flag;

    @ApiModelProperty("数量")
    @NotNull(message = "数量不能为空")
    private BigDecimal tokenNum;

    @ApiModelProperty("原因")
    @NotNull(message = "原因不能为空")
    private String  reason;
}
